<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <script src="./lib/dist/include-openlayers-local.js"></script>
    <title>Document</title>
  </head>
  <body>
    <div id="map"></div>
    <script>
      var docLayer = new Zondy.Map.Doc("", "traffic", {
        ip: "localhost",
        port: 6163,
        crossOrigin: "Anonymous",
      })
      var map = new ol.Map({
        target: 'map',
        layers: [docLayer],
        view: new ol.View({
          projection: 'EPSG:4326',
          center: [114.37627601413989, 30.47669219970703],
          zoom: 13
        })
      })
    </script>
  </body>
</html>
